home *** CD-ROM | disk | FTP | other *** search
/ Suzy B Software 2 / Suzy B Software CD-ROM 2 (1994).iso / extras / programm / gemfsc20 / gemfsc20.lzh / GEMFBIND / VGTEXT.S < prev    next >
Text File  |  1993-03-16  |  1KB  |  41 lines

  1. ;*========================================================================
  2. ;* VDIFAST Public Domain VDI bindings.
  3. ;*========================================================================
  4.  
  5.  
  6. ;*------------------------------------------------------------------------
  7. ;* Text.
  8. ;*------------------------------------------------------------------------
  9.  
  10.           globl     _v_gtext
  11. _v_gtext:
  12.  
  13. ;    .cargs    #8,handle.w,x.w,y.w,p_str.l
  14.  
  15. handle      =         8
  16. x          =         10
  17. y          =         12
  18. p_str      =         14
  19.  
  20.           link        a6,#0
  21.  
  22.           move.l    p_str(a6),a0        ;* Get the string pointer.
  23.           jsr        vstr_stack            ;* Go integerize and stack string.
  24.  
  25. ;          VContrl    #8,,#1,d0
  26.           move.w    handle(a6),-(sp)    ; contrl[6]
  27.           clr.l     -(sp)                ; contrl[5,4]
  28.           move.w    d0,-(sp)            ; contrl[3]
  29.           subq.l    #2,sp                ; contrl[2]
  30.           move.w    #1,-(sp)            ; contrl[1]
  31.           move.w    #8,-(sp)            ; contrl[0]
  32.  
  33.           subq.l    #8,sp                ;* -> ptsout, intout
  34.           pea        x(a6)                ;* -> ptsin
  35.           move.l    a0,-(sp)            ;* -> intin
  36.           pea        16(sp)                ;* -> contrl
  37.  
  38.           jmp        vdicall
  39.  
  40.           end
  41.